#include <SFML/Graphics/CircleShape.hpp>
#include <SFML/Graphics/RenderTarget.hpp>
#include <SFML/Graphics/RenderStates.hpp>
#include <FanShape.h>
#include <nice2d/spritedecorator.h>
#include <nice2d/sprite.h>
#include <nice2d/util.h>

IMPLEMENT_OBJECT(SpriteDecorator,Serializer)

class SpriteDecoratorData
{
public:
    SpriteWeakPointer sprite;
};

SpriteDecorator::SpriteDecorator():
    data(new SpriteDecoratorData)
{
}

SpriteDecorator::~SpriteDecorator()
{
}

void SpriteDecorator::setSprite(SpritePointer sprite)
{
    data->sprite = sprite;
}

SpriteWeakPointer SpriteDecorator::getSprite() const
{
    return data->sprite;
}
